const Router = require('koa-router')
const { PositiveIntegerValidator } = require('../../validator/validator')
const Auth = require('../../../middlewares/auth')

const router = new Router({ prefix: '/v1/classic'})

router.get('/latest', new Auth(8).m,  async (ctx,next) => {
  const path = ctx.params
  ctx.body = {
    msg: 'success',
    auth: ctx.auth
  }
  next()
})

module.exports = router